package com.etms.mapper;

import com.etms.pojo.Customer;
import com.etms.pojo.WareHouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CangMapper {
    List<WareHouse> findList();

    WareHouse findById(@Param("id") Integer id);

    int delById(@Param("id")Integer id);

    int update(WareHouse wareHouse);

    int addOne(WareHouse wareHouse);
}
